#ifndef BSPLINECUADCURVE_H_
#define BSPLINECUADCURVE_H_

#include <GL/glew.h>
#include <GL/glut.h>
#include <glm/glm.hpp>

#include <vector>
#define TAMBSCUAD 30

using std::vector;
class BSplineCuadCurve{
	public:
		~BSplineCuadCurve();
		BSplineCuadCurve(vector<float>* controlPoints,float vectorPerp[3]);
/*
		void drawCurve(glm::mat4 mat);
		void drawControlPoints(); 
		void drawNormals();
*/
		size_t getSize();
		void getCurve(vector<float>* targetCurve);
		void getNormals(vector<float>* targetNormals);

	private:
		vector<float>* controlPoints;
		vector<float>* normals;
		vector<float>* curve;

		void calculateCurve();
		void calculateNormals(float vectorPerp[3]);
};

#endif
